Scroll to navigation

lsm_volume_physical_disk_cache_update(3) Libstoragemgmt C API Manual lsm_volume_physical_disk_cache_update(3)

NAME

lsm_volume_physical_disk_cache_update - Change RAM physical disk cache setting of specified volume.

SYNOPSIS

int lsm_volume_physical_disk_cache_update (lsm_connect *conn, lsm_volume *volume, uint32_t pdc, lsm_flag flags);

ARGUMENTS

Valid lsm_connect pointer.
Pointer of lsm_volume.
uint32_t. Physical disk cache setting, valid values are: * LSM_VOLUME_PHYSICAL_DISK_CACHE_ENABLED
Enable physical disk cache. * LSM_VOLUME_PHYSICAL_DISK_CACHE_DISABLED
Disable physical disk cache
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.3

DESCRIPTION

Change the setting of RAM physical disk cache of specified volume. On some product(like HPE SmartArray), this action will be effective at system level which means that even you are requesting a change on a specified volume, this change will apply to all other volumes on the same controller(system).

CAPABILITY

LSM_CAP_VOLUME_PHYSICAL_DISK_CACHE_UPDATE LSM_CAP_VOLUME_PHYSICAL_DISK_CACHE_UPDATE_SYSTEM_LEVEL

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_NOT_FOUND_VOLUME
When volume not found.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or invalid flags.
* LSM_ERR_NO_SUPPORT
Not supported.

lsm_volume_physical_disk_cache_update January 2023